package ym.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ym.pojo.HouseBroker;

import java.util.List;

public interface HouseBrokerService {
    void add(HouseBroker houseBroker);

    void update(HouseBroker houseBroker);

    void delete(Integer id);

    HouseBroker findById(Integer id);

    List<HouseBroker> findAll();

    Page<HouseBroker> search(String search, int page, int size);
}
